package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员评论表
 * </p>
 *
 * @author Mr.We
 * @since 2024-06-25
 */
@Getter
@Setter
@TableName("afshop_comment")
@ApiModel(value = "AfshopComment对象", description = "会员评论表")
public class AfshopComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("类型")
    private Integer typeId;

    @ApiModelProperty("类型对应的值")
    private Integer valueId;

    @ApiModelProperty("储存为base64编码")
    private String content;

    @ApiModelProperty("记录时间")
    private Long addTime;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("会员Id")
    private Long userId;

    private User userInfo;
    private List<AfshopCommentPicture> picList;
}
